import request from '@/utils/request'

const recommendApi = {
  // 添加或设置品牌推荐广告和视频
  updateRecommend (data) {
    return request({
      url: '/webinar/newapi/recommend/updateRecommend',
      method: 'post',
      data
    })
  },
  // 查询品牌推荐广告和视频的设置
  selectRecommend (data) {
    return request({
      url: '/webinar/newapi/recommend/selectRecommend',
      method: 'get',
      params: data
    })
  },
  // 删除品牌推荐广告和视频的设置
  deleteRecommend (data) {
    return request({
      url: '/webinar/newapi/recommend/deleteRecommend',
      method: 'get',
      params: data
    })
  },
}
export default recommendApi
